package br.com.lh.urabuilder.helper.dragdrop
{
	import flash.events.MouseEvent;
	
	import mx.containers.Canvas;
	import mx.core.DragSource;
	import mx.core.UIComponent;
	
	/**
	 * This interface is intended to provide mockable methods 
	 * for testing the drag and drop feature, as the flex framework only provides 
	 * static methods for dragging and drop support.
	 * 
	 * Implementors should simply 
	 * delegate to the flex framework static methods. 
	 * 
	 * @author Luiz Henrique
	 * 
	 */
	public interface IDragAndDropDelegator{
		function startDragging(dragInitiator:UIComponent,dragSource:DragSource,event:MouseEvent,dragProxy:UIComponent):void;
		function endDragging(componentCanvas:Canvas):void;
		
	}
}